package vfs.obj.entity.impl;

import vfs.obj.entity.VFSNode;
import java.util.Date;


/**
 *
 * @author Matthew Eavenson <durandal@uga.edu>
 */
public class VFSNodeImpl extends VFSEntityImpl implements VFSNode{
    
    private String name;
    private Date createdOn;
    private Date modifiedOn;
    private String location;
    private PublicAccess access;
    
    public VFSNodeImpl(String name, String location, Date createdOn, Date modifiedOn, PublicAccess access){
        this.name = name;
        this.createdOn = createdOn;
        this.modifiedOn = modifiedOn;
        this.location = location;
        this.access = access;
    }
    
    @Override
    public String getName() {
        return name;
    }

    @Override
    public void setName(String name) {
        this.name = name;
    }

    @Override
    public Date getCreationDate() {
        return createdOn;
    }

    @Override
    public Date getModifiedDate() {
        return modifiedOn;
    }

    @Override
    public void setModifiedDate(Date modifiedDate) {
        this.modifiedOn = modifiedDate;
    }

    @Override
    public String getLocation() {
        return location;
    }

    @Override
    public void setLocation(String location) {
        this.location = location;
    }

    @Override
    public PublicAccess getPublicAccess() {
        return access;
    }

    @Override
    public void setPublicAccess(PublicAccess access) {
        this.access = access;
    }
    
    
}
